/*
 * Copyright (c) 2020 WildFireChat. All rights reserved.
 */

package cn.wildfire.chat.kit.entry;


import java.util.List;

/**
 * 真-model，code啊，message之类的，放到了status里面去了
 */
public class RedRecordResult {
    private String uid;//                   "uid": "oroCoCss", //发送用户uid
    private String ruid;//                           "ruid": "1J1F1FVV", //接收 uid或者groupid
    private String amount;//                           "amount": 9, //红包金额
    private String type;//                           "type": 1, //类型 0个人 1群拼手气 2群普通红包 3群专属红包
    private String few;//                           "few": 50, //个数
    private String title;//                           "title": "happy new year", //红包描述
    private String status;//                           "status": 0, //状态 0 未领取  1已领取
    private List<RecordEntry> records;//                           "records": 0, //状态 0 未领取  1已领取

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getRuid() {
        return ruid;
    }

    public void setRuid(String ruid) {
        this.ruid = ruid;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFew() {
        return few;
    }

    public void setFew(String few) {
        this.few = few;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<RecordEntry> getRecords() {
        return records;
    }

    public void setRecords(List<RecordEntry> records) {
        this.records = records;
    }
    public class RecordEntry{
        private String id;//        "id": 1235,
        private String ruid;//                "ruid": "jnjIjIxx", //接收 uid或者groupid
        private String amount;//                "amount": 0.1, //红包金额
        private String rid;//                "rid": 23, //红包id
        private String createTime;//                "createTime": "2021-09-22T10:47:44.000+0000"
        private String displayName;//                "createTime": "2021-09-22T10:47:44.000+0000"
        private String hearUrl;//                "createTime": "2021-09-22T10:47:44.000+0000"

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getRuid() {
            return ruid;
        }

        public void setRuid(String ruid) {
            this.ruid = ruid;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getRid() {
            return rid;
        }

        public void setRid(String rid) {
            this.rid = rid;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getHearUrl() {
            return hearUrl;
        }

        public void setHearUrl(String hearUrl) {
            this.hearUrl = hearUrl;
        }

        public String getDisplayName() {
            return displayName;
        }

        public void setDisplayName(String displayName) {
            this.displayName = displayName;
        }
    }
}
